<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<link rel="stylesheet" href="../css/desc/describle.css" />
		<link rel="stylesheet" href="../css/bootstrap.min.css" />
		<link rel="stylesheet" href="../css/mdm-common.css" />
		<link rel="stylesheet" href="../css/jeesite.min.css" />
		<script src="https://libs.baidu.com/jquery/1.11.3/jquery.min.js"></script>
		<script src="../js/desc/mockData.js"></script>
		<script src="../js/utils.js"></script>
		<script src="../js/setValueByJquery.js"></script>
		<script src="../js/desc/describleDefinition.js"></script>
		<script src="../js/desc/description.js"></script>

	</head>
	<body>
		<form>
			<div class="row row-my-line">
				<div class="col-md-12">
					<select id="select" onchange=selectChangeMaterials(this)>
						<option value='30001' selected="selected"> 瓶</option>
						<option value='30002'>箱</option>
						<option value='30003'>盒</option>
						<option value='30004'>盖</option>
						<option value='30005'>标</option>
						<option value='30006'>防伪标</option>
						<option value='30007'>内袋</option>
						<option value='30008'>提袋(外袋)</option>
						<option value='30009'>抱箍</option>
						<option value='30010'>厂徽</option>
						<option value='30011'>吊牌</option>
						<option value='30012'>酒杯</option>
						<option value='30013'>缓冲件</option>
						<option value='30014'>其他</option>
					</select>
				</div>
			</div>
			<div class="row row-my-line hidden">
				<div class="col-md-12"><label class="label-my-line">是否为特殊组合 是:</label><input type="radio"
						id="special_group" value="true" name="special_group"><label class="label-my-line">1</label>
					不是:<input type="radio" value="false" name="special_group" checked="checked"><br /></div>
			</div>
			<div class="row row-my-line hidden">
				<div class="col-md-12"><label class="label-my-line" disabled="disabled">特征代号</label><input
						id="ZPINMING1" name="ZPINMING1" type=text onchange="desc(this)" /> <span>*</span><br /></div>
			</div>
			<div class="row row-my-line hidden">
				<div class="col-md-12"><label class="label-my-line">品牌</label>
					<select class="js-example-basic-single input-medium" id="characteristic0" name="characteristic0"
						onchange="changeBrand(this)">
					</select>
					<span>*</span><br />
				</div>
			</div>
			<div class="row row-my-line hidden">
				<div class="col-md-12"><label class="label-my-line">系列</label><input id="xilie" type=text name="xilie"
						onchange="desc(this)" /><span>*</span><br />
				</div>
			</div>
			<div class="row row-my-line hidden">
				<div class="col-md-12"><label class="label-my-line">颜色</label><input id="color" type=text name="color"
						onchange="colorChange(this)" /><span>*</span><br />
				</div>
			</div>
			<div class="row row-my-line hidden">
				<div class="col-md-12"><label class="label-my-line">副标题</label><input id="characteristic1" type=text
						name="characteristic1" onchange="desc(this)" /><span>*</span><br /></div>
			</div>
			<div class="row row-my-line hidden">
				<div class="col-md-12"><label class="label-my-line">版本</label><input id="characteristic2" type=text
						name="characteristic2" onchange="desc(this)" /><span>*</span><br /></div>
			</div>
			<div class="row row-my-line hidden">
				<div class="col-md-12"><label class="label-my-line">包材名称</label><input id="characteristic13" type=text
						name="characteristic13" onchange="desc(this)" /><span>*</span><br /></div>
			</div>

			<div class="row row-my-line hidden">
				<div class="col-md-12"><label class="label-my-line">特殊组合</label><input id="characteristic15" type=text
						name="characteristic15" onchange="desc(this)" /><span>*</span><br />
				</div>
			</div>
			<div class="row row-my-line hidden">
				<div class="col-md-12">
					<input type="button" value="增加度数" class="btn btn-primary" onclick="addDegree()">
					</br>
					<label class="label-my-line">度数</label><input id="characteristic3" type=text name="characteristic3"
						onchange="desc(this)" /><span>*</span><br />
					<div id="moreDegree"></div>
				</div>
			</div>

			<div class="row row-my-line hidden">
				<div class="col-md-12"><label class="label-my-line">容量</label><input id="characteristic4" type=text
						name="characteristic4" onchange="desc(this)" /><span>*</span><br /></div>
			</div>
			<div class="row row-my-line hidden">
				<div class="col-md-12"><label class="label-my-line">盒装瓶数</label><input id="characteristic7" type=text
						name="characteristic7" onchange="desc(this)" /><span>*</span><br /></div>
			</div>
			<div class="row row-my-line hidden">
				<div class="col-md-12"><label class="label-my-line">箱装盒数</label><input id="characteristic8" type=text
						name="characteristic8" onchange="desc(this)" /><span>*</span><br /></div>
			</div>
			<div class="row row-my-line hidden">
				<div class="col-md-12"><label class="label-my-line">袋装盒数</label><input id="characteristic6" type=text
						name="characteristic6" onchange="desc(this)" /><span>*</span><br />
				</div>
			</div>
			<div class="row row-my-line hidden">
				<div class="col-md-12"><label class="label-my-line">品名</label><input id="pm" type=text name="pm"
						onchange="desc(this)" /><span>*</span><br />
				</div>
			</div>

			<div class="row row-my-line">
				<div class="col-md-12">
					<label class="label-my-line">短描述：</label>
					<input name="shortDesc" id="shortDesc" htmlEscape="false" maxlength="40"
						class="input-medium input-extent" />
					最多40个字
				</div>
			</div>
			<div class="row row-my-line">
				<div class="col-md-12">
					<label class="label-my-line">长描述：</label>
					<input name="materialDesc" id="materialDesc" htmlEscape="false" maxlength="200"
						class="input-medium input-extent" readonly="true" />
					<!-- notSpace不可以含有空格 -->
				</div>
			</div>
			<div class="row row-my-line">
				<div class="col-md-12">
					<label class="label-my-line">物料超长描述：</label>
					<input name="longDesc" id="longDesc" htmlEscape="false" maxlength="200"
						class="input-medium input-extent" />
				</div>
			</div>

			<br />
			<div id="moreDescrible"></div>
		</form>
	</body>
	<script>
		$(document).ready(function() {
			changeMaterials(30001, '瓶', eval('(' + jsonData + ')'));
			$("input:radio[name='special_group']").change(function() {
				changeSpecialGroup();
			});
		});
	</script>
</html>
